<span class="layui-breadcrumb"  lay-separator="/">
  <a href="/">商家后台</a>
  <a><cite>编辑资料</cite></a>
</span>
<form class="layui-form mt_2" action="">
    <div class="layui-form-item">
      <label class="layui-form-label">店铺等级</label>
      <div class="layui-input-block">
        <input type="text" value="<?=c('type.shop_level.'.$userinfo['level'])?>" disabled=true autocomplete="off" class="layui-input layui-btn-disabled">
      </div>
    </div>
  <div class="layui-form-item">
    <label class="layui-form-label">店铺名称</label>
    <div class="layui-input-block">
      <input type="text" value="<?=$userinfo['name'];?>" name="name" lay-verify="required" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">店铺头像</label>
    <div class="layui-upload">
        <button type="button" class="layui-btn" id="myupimg">
          <i class="layui-icon">&#xe67c;</i>上传图片
        </button>
        <input type="hidden" name="pic" value="<?=$userinfo['pic']?>" />
        <div style="display:inline-block;position:relative;">
            <span style="position:absolute;right:-15px; top:-15px;cursor:pointer;color:#ccc;font-size:24px;<{if !$info['pic']}>display:none;<{/if}>" id="closeimg">x</span>
            <img id="pic" height=50 src="<?=$userinfo['pic']?>" />
        </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">联系电话</label>
      <div class="layui-input-inline">
        <input type="tel" name="phone" value="<?=$userinfo['phone'];?>" lay-verify="required|phone" autocomplete="off" class="layui-input">
      </div>
    </div>
    </div>

  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="myform">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
